export default {
  singleTableMappingModalShow({commit},flag){
    commit("singleTableMappingModalShow",{flag});
  },
  mappingModalShow({commit},flag){
    commit("mappingModalShow",{flag});
  },
  chooseSettingModalShow({commit},flag){
    commit("chooseSettingModalShow",{flag});
  },
  editLinkModalShow({commit},flag){
    commit("editLinkModalShow",{flag});
  },
  deleteLinkModalShow({commit},flag){
    commit("deleteLinkModalShow",{flag});
  },
  createLinkModalShow({commit},flag){
    commit("createLinkModalShow",{flag});
  },
  saveSettingModalShow({commit},flag){
    commit("saveSettingModalShow",{flag});
  },
  infoModalShow({commit},flag){
    commit("infoModalShow",{flag});
  },
  setCurrentLinkInfo({commit},linkInfo){
    commit("setCurrentLinkInfo",{linkInfo});
  },
  setCurrentDatabase({commit},database){
    commit("setCurrentDatabase",{database});
  },
  cancelCheckAll({commit}){
    commit("cancelCheckAll");
  },
  checkAll({commit},database){
    commit("checkAll",{database});
  },
  loadLinks({commit}){
    commit("loadLinks");
  },
  loadDatabases({commit},linkInfo){
    commit("loadDatabases",{linkInfo});
  },
  updateLink({commit}){
    commit("updateLink");
  },
  saveLink({commit}){
    commit("saveLink");
  },
  deleteLink({commit}){
    commit("deleteLink");
  },
  loadSettingDetail({commit},settingId){
    commit("loadSettingDetail",{settingId});
  },
  saveSettings({commit},name){
    commit("saveSettings",{name});
  },
  generateCode({commit},databases){
    commit("generateCode",{databases});
  },
  customeMapping({commit},mapping){
    commit("customeMapping",{mapping});
  },
  loadMappings({commit},settingId){
    commit("loadMappings",{settingId});
  },
  loadSingleTableMapping({commit},tableInfo){
    commit("loadSingleTableMapping",{tableInfo});
  },
  setSingleTableMapping({commit},singleTableMappings){
    commit("setSingleTableMapping",{singleTableMappings});
  },
  openCodeFolder({commit}){
    commit("openCodeFolder");
  }
}
